package com.theme.passport.entity.constant;

public enum MessageTypeEnum {

    SYSTEMATIC_NOTIFICATION(1, "系统通知"),
    SYSTEM_NOTICE(2, "系统公告") ,
    SERVICES_REMIND(3, "服务提醒") ,
    TRADING_REMIND(4, "交易提醒") ;

    private int value;
    private String name;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    MessageTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }


    @Override
    public String toString() {
        return "UserStatus{" +
            "value=" + value +
            ", name='" + name + '\'' +
            '}';
    }
}
